package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.SiteMat;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SiteMatMapper {

    int insertSelective(SiteMat siteMat);

    int updateByPrimaryKeySelective(SiteMat siteMat);

    List<SiteMat> selectSiteMat(SiteMat siteMat);

    int countSiteMat(SiteMat siteMat);

    int definedSiteMat(@Param("siteMatIds") Long[] siteMatIds, @Param("dataState") Integer dataState);

    Integer querySiteMat(SiteMat siteMat);
    // 根据库位ID删除
    int deleteBySiteId(Integer siteId);
}